package edu.java.water.mapper;

import edu.java.water.entity.BuildingEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Mapper
@Repository
public interface BuildingMapper {
    @Select("select * from building")
    ArrayList<BuildingEntity> getBuilding();

}
